<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

\think\Route::get('captcha/[:id]', "\\think\\captcha\\CaptchaController@index");


\think\Route::rule('admin', function () {
    redirect("/addons/execute/admin-index-index")->send();
});

\think\Route::rule('seller', function () {
    redirect("/addons/execute/seller-index-index")->send();
});

\think\Route::get('api_doc', "index/tool/api_doc");
\think\Route::get('addon_doc', "index/tool/addons_doc");
